zoom scrolling: avoid 'jumping back'
authorMatthias Clasen <mclasen@redhat.com>
Mon, 23 Feb 2015 11:42:17 +0000 (06:42 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 23 Feb 2015 11:46:21 +0000 (06:46 -0500)
commit8726c6d5d239a342f0267d1c2bf0c90fb051d7fb
tree75df025c987b6e83c3aa4e21175b16030277172c
parent1402e2286219d0a16bce327b3e0006ef7bb2ba61
zoom scrolling: avoid 'jumping back'

We record the starting position on button press, but only
start the zoom mode when the long press timeout kicks in.
Depending on circumstances, this can cause a noticable jump.

Avoid this by resetting the recorded starting position after
the long press timeout. Suggested by Sebastian Keller.
gtk/gtkrange.c